package com.zhou.common.mybatis.template.shiro.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.zhou.common.mybatis.template.shiro.entity.SysRole;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 * 角色信息表 Mapper 接口
 * </p>
 *
 * @author zxf
 * @since 2023-02-27
 */
public interface SysRoleMapper extends BaseMapper<SysRole> {

    List<SysRole> selectRolesByUserId(@Param("userId") Long userId);
}
